package com.zcy.gift.client.fallback;

import com.zcy.gift.client.AuthClient;
import com.zcy.gift.domain.LoginUser;
import com.zcy.gift.util.AjaxResult;
import org.springframework.stereotype.Component;

/**
 * <p>
 *
 * </p>
 *
 * @author lucker
 * @date 2024/1/26 15:58
 */
@Component
public class AuthFallBack implements AuthClient {
    @Override
    public AjaxResult addOrUpdate(LoginUser loginUser) {
        return AjaxResult.error("服务异常，登录信息更新失败", 500);
    }
}
